package com.liangdemo.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

@SpringBootApplication
@MapperScan({"com.liangdemo.web.mapper","com.liangdemo.web.upload"})//扫描mapper文件
@EnableCaching//开启缓存
public class LiangDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(LiangDemoApplication.class, args);
        System.out.println("项目启动成功  端口号：1016");
    }

}
